// 递归思想
let person={
    name:'李小龙',
    perfession:{
        name:'deep'
    }
}

Object.freeze(person);
person.name='数据库'
person.perfession.name='设计费'
console.log(person)